﻿using UnityEngine;
using System.Runtime.InteropServices;
using System.Collections;

public class CameraDeviceBehaviour : MaxstAR.ICameraDevice
{
    void OnGUI()
    {
        if (Input.GetKeyDown(KeyCode.Escape))
        {
            Application.Quit();
        }
    }

    void OnApplicationPause(bool pauseState)
    {
        base.PauseCamera(pauseState);
    }

    void OnApplicationQuit()
    {
        base.StopCamera();
    }
}
